package com.qy.dao;

import com.qy.base.core.Mapper;
import com.qy.model.Evaluation;
import com.qy.model.Unit;

import java.util.List;
import java.util.Map;

public interface UnitMapper extends Mapper<Unit> {
    public List<Unit> selectAllUnit(Unit unit);

    public Map seePolicyOrder(Integer id);

    public List<Unit> selectUnitById(Unit unit);

    public List<Map> unitList(Unit unit);

    public void updateUnit(Unit unit);

    public void deleteUnit(Unit unit);

    public void unitState(Unit unit);

    public List<Unit> selectUnitByName(Unit unit);

    public List<Map<String,Object>> selectByClueId(Integer clue_id);

    public List<Unit> selectUnitListByProvince(Evaluation evaluation);

    public List<Map> selectUnitName();

    public List<Map> selectVagueUnitName( String unit_name);
}